#ifndef DISTRIBUTIONBASE_H
#define DISTRIBUTIONBASE_H
#include <QString>

class DistributionBase
{
public:

    DistributionBase();

    virtual void get_mean_value() = 0;
    virtual void get_deviation() = 0;
    virtual void get_random_number() = 0;

    double getDistribution_parameter_1() const;
    void setDistribution_parameter_1(double value);

    double getDistribution_parameter_2() const;
    void setDistribution_parameter_2(double value);

    double getDistribution_parameter_3() const;
    void setDistribution_parameter_3(double value);

    QString getDistribution_name() const;
    void setDistribution_name(const QString &Distribution_name);

    QString getDistribution_code() const;
    void setDistribution_code(const QString &Distribution_code);

    double getSample_Number() const;
    void setSample_Number(double value);

    double Distribution_parameter_1;
    double Distribution_parameter_2;
    double Distribution_parameter_3;
    double Sample_Number;               //生成随机数的样本量

private:

    QString Distribution_name_;
    QString Distribution_code_;


};

#endif // DISTRIBUTIONBASE_H
